package cn.webrx;

import org.apache.shiro.crypto.hash.Md5Hash;
import org.apache.shiro.crypto.hash.SimpleHash;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-06-09 8:43
 */
public class Md5Test {
    public static void main(String[] args) {
        String user = "webrx";
        String passwd = "123";
        //5658b50772e0de0519d9b8c0199da7d9
        System.out.println(new Md5Hash(passwd,"wx",10));

        Object result = new SimpleHash("md5","123","wx",10);
        System.out.println(result);
    }
}
